package top.huxy.boot.service.impl.qqBot.groupTrigger;

import org.springframework.stereotype.Component;
import top.huxy.qqbot.core.roundrobin.AbstractGroupMessageTrigger;

/**
 * @author HuXY
 */
@Component
public class HelloWorld extends AbstractGroupMessageTrigger {
    @Override
    public void handlerGroupMessage() {
        if ("Hello".equals(getRawMessage())) {
            at().text("你好").send();
            at().text("新年快乐").send();
            at().text("Happy new year");
        }
    }
}
